package com.itheima.reggie;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@MapperScan("com.itheima.reggie.mapper") //指定mapper扫描路径
@EnableTransactionManagement  //开启声明式事务
@SpringBootApplication  //主类
@Slf4j
public class WebManageApplication {
    public static void main(String[] args) {
        SpringApplication.run(WebManageApplication.class,args);
        log.info("web端服务启动成功了");
    }
}
